<?php
$emailid=$_REQUEST['deletemessage'];

$msgEditScat="";
if(isset($_REQUEST['deletemessage']))
 {
	
	$sql_editemail="delete from tbl_custommessage where id=$emailid";
	$rst_editemail=mysql_query($sql_editemail) or die(mysql_error());	
	$msgEditScat="Message Deleted Successfully";
 }
 
?>

<table width="100%"  border="1" cellspacing="0" class="container">
  <tr>
    <td width="469" height="25" class="tdHeader">Delete Message </td>
  </tr>
  <tr>
    <td  height="577">
	<br><br>
         
		  
           <table width="100%" border="0" cellspacing="0" align="center">
          <tr>
            <td height="40"><div align="center"><?php if($msgEditScat!="") {echo "<b>".$msgEditScat."</b>"; }?></div></td>
          </tr>		  
        </table>
       
     </td>
  </tr>
</table>

